<style type="text/css" media="screen">  
  /*
   * Required 
   */
  .container { width:954px; height:270px; margin-top: 8px;overflow:hidden; position:relative; cursor:pointer; }
  div.slides { position:absolute; top:0; left:0; }
  ul.slides { position:absolute; top:0; left:0; list-style:none; padding:0; margin:0; }
  div.slides > div,ul.slides li { position:absolute; top:0; width:954px; display:none; padding:0; margin:0; }
</style>
<!--
<div id='ad'>

<div id="loopedSlider"> 
  <div class="container"> 
    <div class="slides"> 
      <div><img src="/images/home_page/images/01.jpg" width="946" height="270" alt="First Image" /></div> 
      <div><img src="/images/home_page/05.jpg" width="946" height="270" alt="First Image" /></div> 
      <div><img src="/images/home_page/04.jpg" width="946" height="270" alt="First Image" /></div> 
      <div><img src="/images/home_page/images/02.jpg" width="946" height="270" alt="First Image" /></div> 
      <div><img src="/images/home_page/images/03.jpg" width="946" height="270" alt="First Image" /></div> 
    </div> 
  </div> 
</div> 
</div>
-->
<div id="ad">
  <OBJECT
    codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/&#13;&#10;swflash.cab#version=6,0,29,0"
    height=282 width=946 >
    <PARAM NAME="movie" VALUE="/flash/4.swf">
    <PARAM NAME="quality" VALUE="high">
    <PARAM NAME="wmode" VALUE="opaque">
    <embed src="/flash/4.swf" width="950"
           height="280" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
           type="application/x-shockwave-flash" wmode="opaque"></embed>
  </OBJECT>
</div>
<div id="run">
  祝贺心嘉源企业网站新版上线测试，目前内容正在完善中，欢迎您对网站建设提出宝贵意见。
</div>

<div id="main">

  <div id="news">
    <div class="news_title">
      <a href="/psysource/home_page/news_center">
        <img style="margin-top:6px;"src="/images/home_page/images/more.gif" width="44" height="10" /></a>
      <a href="/psysource/home_page/news_feed">
        <img src="/images/home_page/images/ico_rss.gif" width="36" height="14" />
      </a>
      <a href="/psysource/home_page/news_center">新闻中心</a>
    </div>

    <% if @news.length > 0 %>
    <h2>
      <a title="<%=@news[0].title%>" href="/psysource/home_page/news/<%=@news[0].id%>" target="_blank"><%=truncate(@news[0].title,:lenght=>16)%></a>
    </h2>
    <!--
    <div class="first_news">
      <p style="margin-left:25px"><a href="/psysource/home_page/news/<=@news[0].id%>">&nbsp;&nbsp;&nbsp;&nbsp;<=truncate(@news[0].content, :lenght=>70)%></a></p>
    </div>
    -->
    <ul>
      <% @news[1..5].each do |new| %>
      <li><a title="<%= new.title%>" href="/psysource/home_page/news/<%=new.id%>"><%=new.title%></a></li>
      <% end %>
    </ul>
    
    <% end %>
  </div><!--div news end-->
  
	<div id="works">
		<div class="works_title"><a href="#"><img src="/images/home_page/images/more.gif" width="44" height="10" /></a>热点业务</div>
				  <div class="works_cont"><span>&middot;</span>培训及辅导：<br />
<p><a  href="/psysource/home_page/qmzl"><font color="#FF0000">亲密之旅</font></a>&nbsp;&nbsp;&nbsp;<a href="/psysource/home_page/cultivate">心理咨询师培训</a><br /><a href="/psysource/home_page/cultivate">职业规划师</a>&nbsp;&nbsp;
<a href="/psysource/home_page/marital">婚姻家庭咨询师</a></p>
<span>&middot;</span>在线心理测评：<br />
<p>九型人格、职业兴趣、专业量表</p>
<span>&middot;</span><a href='/psysource/home_page/xinlizixunzhongxin'>心理咨询中心</a><br />
<span>&middot;</span><a href="/psysource/home_page/web_service">WEB平台搭建及内容服务</a>		</div>
	</div>
  <div id="only">
		<div class="only_title"><a href="#"><img src="/images/home_page/images/more.gif" width="44" height="10" /></a>专题栏目</div>
	  			<div class="only_one">
	  			 <a href="/psysource/home_page/sand"><img src="/images/home_page/images/shaxiangbutton.jpg" width="91" height="47"  /></a>
				<p><br />神奇的箱庭游戏..</p>
				</div>	
				<div class="only_one">
	  			 <a href="/psysource/home_page/eap"><img src="/images/home_page/images/eapbutton.jpg" width="91" height="47"  /></a>
				<p><br />什么是EAP？<br />
EAP能解决问题吗？</p>
				</div>	
  </div>
	<div id="links">
		<a href="/login/login"><img src="/images/home_page/images/xinyibutton.jpg" width="164" height="52" /></a>
		<a href="http://www.iyaoi.com"><img src="/images/home_page/images/xinjiayuanbutton.jpg" width="165" height="49" style="margin-top:6px; margin-bottom:5px;" /></a>
		<a href="/psysource/home_page/contact"><img src="/images/home_page/images/link03.jpg" width="161" height="53" /></a>
	</div>
</div>

<script type="text/javascript" charset="utf-8"> 
  $(function(){
    $('#loopedSlider').loopedSlider({
      autoStart: 10000,
      restart: 5000
    });
  });
</script> 
